@import 'common/libs';
@import 'common/component';
@import 'common/prototype';
@import 'UI/form';
@import 'UI/htmlEditor';
@import 'UI/calendar';
@import 'UI/carousel';
@import 'UI/lightbox';


html.adminIndex, body.adminIndex{
	overflow: hidden;
	margin: 0;
	padding: 0;
	background-color: #2E363F;
	height: 100%;
}
.adminIndex{
	.nav{
		height: 100%;
		li{
			float: left;
			padding: 0 20px;
			line-height: 30px;
			a{
				font-size: 11px;
				color: #999;
				text-decoration: none;
				&:hover{
					color:white;
				}
			}
			.dropdown-menu{
				display: none;
			}

			border-right:1px solid #2E363F;
			border-left:1px solid black; 
		}
	}
}

.logo{
	height: 76px;
	line-height:76px;
	color:lightgray;
	text-align:center;
	font-size:20px;
	
}

.copyright{
	position: absolute;
	bottom: 5px;
	left: 20px;
	color:gray;
	font-size: 9pt;
	width:200px;
}

.leftSidebar, .topSidebar{

}
.leftSidebar{
	.acMenu;
	&>li{
		border-top: 1px solid #37414b;
		border-bottom: 1px solid #1f262d;
		&.pressed {
			border-top:0;
			border-bottom: 1px solid  #f40;
			h3, a{
				color: white;
			}
			h3{
				background-color: #f40;
			}
		}
		
		 
		&>h3{
			margin: 0;
			
			&:hover{
				background-color: #f40;
				color: white;
			}
		}
		ul li a{ // A 连接元素把 li 的面积 全占满，使之成为按钮
			display: block;
			line-height: 20px;
			width: 100%;
		}
		ul li:hover{
			background-color: #28b779;
		}
		ul li.selected{
			background-color: lighten(#28b779, 25%);
		}

		h3, li{
			padding: 10px 0 10px 15px;
		}
	}
	a{
		text-decoration: none;color: #939da8;
	}
	li{
		line-height: 20px;
		color: #939da8;
		font-size: 12px;
	}
}

// 子页面
body{
	background-color: #eee;
	color: #666;
	margin-top: 0!important;
}


.listContent, .widget-box{
	
	border-top: 1px solid rgb(255, 255, 255);
}
.form-actions{
	text-align: center;
	padding: 20px;
}
nav{	    
    background-color: #f5f5f5;
	height: 43px;
	line-height: 43px;
	border-bottom: 1px solid rgb(217, 217, 217);
	h3.head{
		padding: 8px 20px;
		font-size: 12.5pt!important;
		line-height: 20px!important;
		margin-bottom: 5px;
		float: left;
	}
	.breadcrumb{
		margin: 0!important;
		padding: 0 20px!important;
		float: right;
	}
}


.uploadPanel_holder{
	.dialog(600px,380px);
	.box{
		.toolbar{
			line-height: 20px;
			// margin-top: -30px;
			border:1px solid #DADADA;
			border-bottom: 0;
			// border-bottom: 1px solid #A0A0A0;
			box-sizing: border-box;
			.verticalityGradient(#ECF4FC, #DCEBF9);
			button{
				
				border:1px solid transparent;
				font-size: 9pt;
				margin:3px;
				padding-left: 20px;
				&.del{
					background: 2px center no-repeat url();
				}
				&.selectAll{
					background: 2px center no-repeat url();
				}				
				&.refreash{
					background: 2px center no-repeat url();
				}
				&.cover{
					background: 2px center no-repeat url();
				}
				&:hover{
					background-color: #CBE4FC;
					border-color:#75AFEA;
				}
			}
			
		}
		.innerPanel{
			border-top:0;
			padding: 0;
			.dataview, .preview {
				border-top: 1px solid #A0A0A0;
				height: 100%;
				box-sizing: border-box;
				

			}
			.dataview, {
				// border-right:1px solid #DADADA;
				width:70%;
				float: left;
				background-color: white;
				overflow: auto;
				ul{
					.grid;
					li{
						.imgContainer{
							margin:3px 5px;
						}
			            margin:8px 0;
			            min-height:100px;/* li 有最小高度，否则影响后来的元素，这是浮动的?*/
			        }
				}
			}
			.preview{
				float: right;
				width:30%;
				background-color: #EEF3FA;
				text-align: center;
				.perviewHolder {
					text-align: center;
					padding: 10px;
					img {
						max-width:100%;
						max-height:185px;
					}
				}
				input[type=submit]{
					width:77%;
				}
				input[type=submit], button{
					padding : 2px 15px;
					margin: 5px;
					.btn;
				}
				form{
					overflow: hidden;// input[type=file] 文件名会太长
				}
			}
		}
	}
}

.companyAlbum{	
	.tabContainer{
		margin-top: 10px;
		position: relative;
		.uploadBtn{
			position: absolute;
			left: 15px;
		}
		&>ul>li{
			border-width:2px;
			font-size: 10.5pt;
			letter-spacing: 3px;
			padding: 8px 20px;
		}
		&>ul{
			margin: 0!important;
		}
		.content{
			width: 100%;
			border:0;
			border-top:2px solid @baseColor;
			margin-top: -2px;
			background: white;
		}
	}

	.photoList {
		margin-top: 5px;
		-webkit-column-count : 4; 
		-moz-column-count : 4; 
		-webkit-column-width: 222px;
		-moz-column-width: 222px;
		-o-colum-width: 222px;
		-webkit-column-gap: 2px;
		-moz-column-gap: 2px;
		-o-column-gap: 2px;

		li {
			&:hover img{

					border-color: #FF4400;
				}
			
			img {
				margin: 5px;
				cursor: pointer;
				border:  1px white solid;
				width: 98%;
			}
		}
	}
}

table.list{
	// 列表
	.alignCenter{
		text-align: center;
	}
	tr{
		cursor: pointer;
	}
	tr:nth-child(even) {
		background-color:#f5f5f5;
	}
	tr:nth-child(odd) {
		background-color: white;
	}
	tr:hover{
		background-color:#7ce2b6; 
		color:white;
		td{
			color:white;
			a{
				color:white;
			}
		}
	}
}

	input[type=text], input[type=password], textarea{
		height: 26px;
		padding:2px 4px;
		background: url() repeat-x white;
		// box-sizing: border-box;
		border: 1px solid #abadb3;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		outline: 0;
	}
.showCarEntry{
	.dialog(600px, auto);
}

table.layoutTable{
	width: 95%;
	.labelWidth{
		width:12%;
	}
	input[name=name]{
		width:90%;
	}
	&>tbody>tr>td{
		padding: 5px 3px;
		font-size:10.5pt;
		letter-spacing: 5px;
		input[type=text]{
			font-size:9pt;
			padding: 2px 3px;
			color: #555;
			margin-right: 3px;
			height: 26px;
			padding: 2px 4px;
			border: 1px solid #abadb3;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			outline: 0;
		}
		select{
			width:160px;
		}
	}
	textarea{
		resize:none;
	}
}
.btns{
	text-align:center;
	button{
		.my-btn;
	}
}
// 只读状态下的
.ro{
	input{
		background: none;
		border-bottom: 1px solid #ccc;
		border-top:0!important;
		border-left: 0!important;
		border-right: 0!important;
		background-color: transparent!important;
		text-align: center;
	}
	textarea{
		background: none;
		background-color: transparent;
		border:1px solid #abadb3!important;
		resize: none;
	}
}

.unitText{
	font-size: 9pt;
	color:#666;	
}
// 列表容器
.listContent{
	padding: 15px;
	.toolbar{
		margin-bottom:15px;
	}
}

// 通过输入框点击出现地区选择器
.cityChoserHolder{// cityChoserHolder = 等高的垫片
	
	height: 280px;
	position: absolute;
	right: -80px;
	z-index: 99999;
	
	.cityChoser{
		display: none;
		
		&>ul{
			width:255px;
			.giveHeight;
			background-color: white;
			&>li{
				width: 84px;
				margin: 0;
				margin-right: 1px;
				// border-left:white 1px solid; 
				// &:first-child{
				// 	border-left:0;
				// } 
				&.selected{
					color: @baseColor;
					.arrow {
						border-color: @baseColor transparent  transparent  transparent;
					}
				}
				.arrow {
					border-style: solid;
					height: 0;
					line-height: 0;
					width: 0;
					font-size: 0;
					border-width: 5px;
					border-color: transparent transparent  transparent  transparent;
				}
			}
		}
		.content{
			width:254px!important;
			background-color: white;
			.tab{
				.giveHeight;
				padding:10px;
				text-align: left;
				&>span{
					margin: 3px 0;
					padding-left: 3px;

					width: 55px;
					// display: inline-block;
					display: block;
					float: left;
					cursor: pointer;
					font-size: 9pt;
					text-align: center;
					white-space: nowrap;
					overflow:hidden;
					text-overflow : ellipsis;
					letter-spacing: 2px;
					&:hover{
						color: green;
					}

					&.selected{
						color: @baseColor;
						// background-color: @baseColorHover;
					}
				}
			}
		}
	}
}


.cityChoserByInput{
	position:relative;
	img{
		position: absolute;
		right: 8px;
		top:3px;
		width: 16px;
	}
	.cityChoserHolder{
		top:23px;
		left:0px;
		right: inherit; // 同时设置 left 和 right 有影响？宽度会有，而不是 0
	}

	&:hover .cityChoser, .cityChoserHolder:hover .cityChoser{
		display: block;
	}
}

// 点评
.rate-control label {
    cursor: pointer;
}
.rate-control li {
    display: inline;
}
.rate-control label {
    cursor: pointer;
    float: left;
    padding-bottom: 4px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
}
.icon-bad, .icon-normal, .icon-good {
    height: 16px;
    vertical-align: middle;
    width: 16px;
}
.icon {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("http://img02.taobaocdn.com/tps/i2/T1hZoHXflgXXafwp6V-43-110.png");
    background-origin: padding-box;
    background-position: 1000px 1000px;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    vertical-align: text-bottom;
}
.icon-good {
    background-position: 0 -51px;
    height: 16px;
    width: 16px;
}

.icon-normal {
    background-position: 0 -34px;
    height: 16px;
    width: 16px;
}
.icon-bad {
    background-position: 0 -16px;
    height: 17px;
    width: 17px;
}

// 覆盖
.errState .disallowStateIcon{
	top:15px;
}


.showRemainCharLength_holder{
	font-size: 9pt;
	padding: 10px;
}

.showProductEntry{
	.dialog(800px);
}
.loginDlg{
	.dialog(400px);
}

.catalogMgr{
	.dialog(400px);
	.innerPanel div{

		padding-left:50px;
	}
	
}

.table td{
	max-width:200px;
}

.pageEditor{
	.htmlEditor{
		margin:10px;
	}
	div.btns{
		text-align:center;
		padding:10px;
		button{
		}
	}
}

// grid control 隐藏
.table{
	.intro, .cover, .isHidden, .isHot, .state, .content{
		display:none;
	}
}

// by 
fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}
legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 40px;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    small {
        font-size: 15px;
        color: #999;
    }
}

.form-horizontal .control-group:before, .form-horizontal .control-group:after {
    display: table;
    line-height: 0;
    content: "";
}
.form-horizontal {
    .control-group:after {
        clear: both;
    }
    .control-label {
        float: left;
        width: 160px;
        text-align: right;
    }
    .controls {
        *display:inline-block;
        *padding-left:20px;
        margin-left: 180px;
        *margin-left:0;
        font-size:9pt;
    }
    .controls:first-child {
        *padding-left:180px;
    }
    .help-block {
        margin-bottom: 0;
    }
}
.form-horizontal input+.help-block, .form-horizontal select+.help-block, .form-horizontal textarea+.help-block, .form-horizontal .uneditable-input+.help-block, .form-horizontal .input-prepend+.help-block, .form-horizontal .input-append+.help-block {
    margin-top: 10px;
}
table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}
.table {
    width: 100%;
    margin-bottom: 20px;
    th {
        font-weight: bold;
    }
    thead {
        th {
            vertical-align: bottom;
        }
    }
    tbody+tbody {
        border-top: 2px solid #ddd;
    }
    .table {
        background-color: #fff;
    }
}
.table th, .table td {
    padding: 8px;
    line-height: 20px;
    vertical-align: top;
    border-top: 1px solid #ddd;
    font-size: 9pt;
    color: #666;
}
.table caption+thead tr:first-child th, .table caption+thead tr:first-child td, .table colgroup+thead tr:first-child th, .table colgroup+thead tr:first-child td, .table thead:first-child tr:first-child th, .table thead:first-child tr:first-child td {
    border-top: 0;
}
.table-condensed th, .table-condensed td {
    padding: 4px 5px;
}
.table-bordered {
    border: 1px solid #ddd;
    border-collapse: separate;
    *border-collapse:collapse;
    border-left: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    tfoot+tbody:last-child {
        tr:last-child {
            td:first-child {
                -webkit-border-bottom-left-radius: 0;
                border-bottom-left-radius: 0;
                -moz-border-radius-bottomleft: 0;
            }
            td:last-child {
                -webkit-border-bottom-right-radius: 0;
                border-bottom-right-radius: 0;
                -moz-border-radius-bottomright: 0;
            }
        }
    }
}
.table-bordered th, .table-bordered td {
    border-left: 1px solid #ddd;
}
.table-bordered caption+thead tr:first-child th, .table-bordered caption+tbody tr:first-child th, .table-bordered caption+tbody tr:first-child td, .table-bordered colgroup+thead tr:first-child th, .table-bordered colgroup+tbody tr:first-child th, .table-bordered colgroup+tbody tr:first-child td, .table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
}
.table-bordered thead:first-child tr:first-child &>th:first-child, .table-bordered tbody:first-child tr:first-child &>td:first-child, .table-bordered tbody:first-child tr:first-child &>th:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}
.table-bordered thead:first-child tr:first-child &>th:last-child, .table-bordered tbody:first-child tr:first-child &>td:last-child, .table-bordered tbody:first-child tr:first-child &>th:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}
.table-bordered thead:last-child tr:last-child &>th:first-child, .table-bordered tbody:last-child tr:last-child &>td:first-child, .table-bordered tbody:last-child tr:last-child &>th:first-child, .table-bordered tfoot:last-child tr:last-child &>td:first-child, .table-bordered tfoot:last-child tr:last-child &>th:first-child {
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
}
.table-bordered thead:last-child tr:last-child &>th:last-child, .table-bordered tbody:last-child tr:last-child &>td:last-child, .table-bordered tbody:last-child tr:last-child &>th:last-child, .table-bordered tfoot:last-child tr:last-child &>td:last-child, .table-bordered tfoot:last-child tr:last-child &>th:last-child {
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
}
.table-bordered caption+thead tr:first-child th:first-child, .table-bordered caption+tbody tr:first-child td:first-child, .table-bordered colgroup+thead tr:first-child th:first-child, .table-bordered colgroup+tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}
.table-bordered caption+thead tr:first-child th:last-child, .table-bordered caption+tbody tr:first-child td:last-child, .table-bordered colgroup+thead tr:first-child th:last-child, .table-bordered colgroup+tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}
table td[class*="span"], table th[class*="span"], .row-fluid table td[class*="span"], .row-fluid table th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -moz-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
.fade.in {
    opacity: 1;
}
.collapse {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height .35s ease;
    -moz-transition: height .35s ease;
    -o-transition: height .35s ease;
    transition: height .35s ease;
}
.collapse.in {
    height: auto;
}
.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    filter: alpha(opacity=20);
}
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    filter: alpha(opacity=40);
}
button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}
.btn {
    display: inline-block;
    *display:inline;
    padding: 4px 12px;
    margin-bottom: 0;
    *margin-left:.3em;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color:#e6e6e6;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    *border:0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom:1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
}
.btn:hover, .btn:focus, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
    color: #333;
    background-color: #e6e6e6;
    *background-color:#d9d9d9;
}
.btn:active, .btn.active {
    background-color: #ccc \9;
}
.btn:first-child {
    *margin-left:0;
}
.btn:hover, .btn:focus {
    color: #333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear;
}
.btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.btn.active, .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.05);
}
.btn.disabled, .btn[disabled] {
    cursor: default;
    background-image: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block {
    width: 100%;
}
.btn-primary.active, .btn-warning.active, .btn-danger.active, .btn-success.active, .btn-info.active, .btn-inverse.active {
    color: rgba(255,255,255,0.75);
}
.btn-primary {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #006dcc;
    *background-color:#04c;
    background-image: -moz-linear-gradient(top, #08c, #04c);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c));
    background-image: -webkit-linear-gradient(top, #08c, #04c);
    background-image: -o-linear-gradient(top, #08c, #04c);
    background-image: linear-gradient(to bottom, #08c, #04c);
    background-repeat: repeat-x;
    border-color: #04c #04c #002a80;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    color: #fff;
    background-color: #04c;
    *background-color:#003bb3;
}
.btn-primary:active, .btn-primary.active {
    background-color: #039 \9;
}
.btn-warning {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #faa732;
    *background-color:#f89406;
    background-image: -moz-linear-gradient(top, #fbb450, #f89406);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
    background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
    background-image: -o-linear-gradient(top, #fbb450, #f89406);
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    border-color: #f89406 #f89406 #ad6704;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
    color: #fff;
    background-color: #f89406;
    *background-color:#df8505;
}
.btn-warning:active, .btn-warning.active {
    background-color: #c67605 \9;
}
.btn-danger {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #da4f49;
    *background-color:#bd362f;
    background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: #bd362f #bd362f #802420;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
    color: #fff;
    background-color: #bd362f;
    *background-color:#a9302a;
}
.btn-danger:active, .btn-danger.active {
    background-color: #942a25 \9;
}
.btn-success {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #5bb75b;
    *background-color:#51a351;
    background-image: -moz-linear-gradient(top, #62c462, #51a351);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
    background-image: -webkit-linear-gradient(top, #62c462, #51a351);
    background-image: -o-linear-gradient(top, #62c462, #51a351);
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    background-repeat: repeat-x;
    border-color: #51a351 #51a351 #387038;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
    color: #fff;
    background-color: #51a351;
    *background-color:#499249;
}
.btn-success:active, .btn-success.active {
    background-color: #408140 \9;
}
.btn-info {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #49afcd;
    *background-color:#2f96b4;
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    color: #fff;
    background-color: #2f96b4;
    *background-color:#2a85a0;
}
.btn-info:active, .btn-info.active {
    background-color: #24748c \9;
}
.btn-inverse {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #363636;
    *background-color:#222;
    background-image: -moz-linear-gradient(top, #444, #222);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444), to(#222));
    background-image: -webkit-linear-gradient(top, #444, #222);
    background-image: -o-linear-gradient(top, #444, #222);
    background-image: linear-gradient(to bottom, #444, #222);
    background-repeat: repeat-x;
    border-color: #222 #222 #000;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
    filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
    color: #fff;
    background-color: #222;
    *background-color:#151515;
}
.btn-inverse:active, .btn-inverse.active {
    background-color: #080808 \9;
}
button.btn, input[type="submit"].btn {
    *padding-top:3px;
    *padding-bottom:3px;
}
button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner {
    padding:0;
    border:0;
}
button.btn.btn-large, input[type="submit"].btn.btn-large {
    *padding-top:7px;
    *padding-bottom:7px;
}
button.btn.btn-small, input[type="submit"].btn.btn-small {
    *padding-top:3px;
    *padding-bottom:3px;
}
button.btn.btn-mini, input[type="submit"].btn.btn-mini {
    *padding-top:1px;
    *padding-bottom:1px;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn-link {
    color: #08c;
    cursor: pointer;
    border-color: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.btn-link:hover, .btn-link:focus {
    color: #005580;
    text-decoration: underline;
    background-color: transparent;
}
.btn-link[disabled]:hover, .btn-link[disabled]:focus {
    color: #333;
    text-decoration: none;
}
